var arr = [];
var arr1 = [1, 2, 3];
var arr3 = ['1', '2', '3'];
var arr4 = [true, false];
var num = 111;
var string = '字符串';
var bo1 = true;
var obj = {
    a: '123'
};
var fun = function (con, con2) {
    return con + con2;
};
var arr5 = [1, '2', true];
var newarr = [1, '2', 3, '4'];
newarr.splice(newarr.length - 1, 1);
console.log(newarr);
var newarr1 = [1, 2, 3];
for (var i = 1; i < newarr1.length - 1; i++) {
    newarr1.push(i);
}
console.log(newarr1);
var newarr3 = [[1, 2, 3], [11, 22, 33]];
var newarr4 = [];
for (var x = 0; x < newarr3.length - 1; x++) {
    for (var j = 0; j < newarr3[x].length - 1; j++) {
        newarr4.push(newarr3[x][j]);
    }
}
console.log(newarr4);
